﻿using DreamCMS.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DreamCMS.BLL.Factory.Interface
{
    public interface IStatisticDAO
    {
        /// <summary>
        /// 更新统计信息
        /// </summary>
        /// <param name="statistic">统计实体</param>
        /// <returns>是否更新成功</returns>
        bool UpdateStatistic(StatisticInfo statistic);
        /// <summary>
        /// 获取统计信息
        /// </summary>
        /// <returns>统计信息实体</returns>
        StatisticInfo GetStatistic();
    }
}
